<Ui xmlns="http://www.blizzard.com/wow/ui/"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
    <!--
    Decursive (v 2.0) add-on for World of Warcraft UI
    Copyright (C) 2006-2007 John Wellesz (Archarodim) ( http://www.2072productions.com/?to=decursive.php )
    This is the continued work of the original Decursive (v1.9.4) by Quu
    Decursive 1.9.4 is in public domain ( www.quutar.com )

    License:
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    -->
    <Script>

	if not DcrLoadedFiles or not DcrLoadedFiles["Dcr_lists.lua"] then
	    if not DcrCorrupted then message("Decursive installation is corrupted! (Dcr_lists.lua not loaded)"); end;
	    DcrCorrupted = true;
	    return;
	end

	-- Dcr:SetDateAndRevision("$Date: 2008-08-12 04:50:10 +0200 (mar., 12 août 2008) $", "$Revision: 80230 $");
    </Script>

    <Button name="DcrSimpleTextOnlyButton" hidden="true" virtual="true">

	<ButtonText name="$parentText" justifyH="LEFT" />

	<NormalFont inherits="GameFontNormal" style="GameFontNormal" justifyH="LEFT" />
	<HighlightFont inherits="GameFontHighlight" style="GameFontHighlight" justifyH="LEFT" />
	<DisabledFont inherits="GameFontDisable" style="GameFontDisable" justifyH="LEFT" />

    </Button>

    <!--  Dcr_ListEntryTemplate {{{ -->
    <Button name="Dcr_ListEntryTemplate" inherits="DcrSimpleTextOnlyButton" hidden="true" virtual="true">

	<Size>
	    <AbsDimension x="140" y="16"/>
	</Size>

	<Scripts>
	    <OnLoad>
		this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp');
	    </OnLoad>
	    <OnClick>
		this:GetParent():EntryOnclick();

	    </OnClick>
	    <OnEnter>
		Dcr:DisplayTooltip(Dcr.L[Dcr.LOC.LIST_ENTRY_ACTIONS], this:GetParent());
	    </OnEnter>
	    <OnLeave>
		DcrDisplay_Tooltip:Hide();
	    </OnLeave>
	</Scripts>
    </Button>
    <!-- }}} -->

    <!--  Dcr_ListFrameTemplate {{{ -->
    <Frame name="Dcr_ListFrameTemplate" frameStrata="LOW" toplevel="true" enableMouse="true" EnableMouseWheel="true" movable="true" hidden="true" virtual="true" parent="UIParent">
	<Size>
	    <AbsDimension x="170" y="210" />
	</Size>

	<Anchors>
	    <Anchor point="CENTER" />
	</Anchors>

	<TitleRegion setAllPoints="true"/>

	<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
	    <EdgeSize>
		<AbsValue val="16"/>
	    </EdgeSize>
	    <TileSize>
		<AbsValue val="16"/>
	    </TileSize>
	    <BackgroundInsets>
		<AbsInset left="5" right="5" top="5" bottom="5"/>
	    </BackgroundInsets>
	</Backdrop>

	<Scripts>
	    <OnEnter>
		Dcr:DisplayTooltip(this.ListTitle, this);
	    </OnEnter>
	    <OnLeave>
		DcrDisplay_Tooltip:Hide();
	    </OnLeave>
	    <OnLoad>
		Dcr.ListFrameTemplate_OnLoad();
	    </OnLoad>
	    <OnShow>
		this.UpdateYourself = true;
	    </OnShow>

	    <OnUpdate>
		this.OnUpdate();
	    </OnUpdate>
	</Scripts>

	<Layers>
	    <Layer level="BACKGROUND">
		<FontString name="$parentText" inherits="GameFontNormal" text="Dcr.LOC.STR_DCR_PRIO">
		    <Anchors>
			<Anchor point="TOP" relativePoint="TOP" relativeTo="$parent">
			    <Offset>
				<AbsDimension x="0" y="-5" />
			    </Offset>
			</Anchor>
		    </Anchors>

		</FontString>
	    </Layer>
	</Layers>

	<Frames>

	    <Button name="$parentClear" inherits="GameMenuButtonTemplate" text="C">
		<Size>
		    <AbsDimension x="20" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="TOP" relativeTo="$parent">
			<Offset>
			    <AbsDimension x="0" y="-20" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnShow>
			this:SetText(this:GetParent().ClearButtonText);
		    </OnShow>
		    <OnClick>
			this:GetParent().ClearFunction();
		    </OnClick>
		    <OnEnter>
			Dcr:DisplayTooltip(this:GetParent().ClearButtonTip, this);
		    </OnEnter>
		    <OnLeave>
			DcrDisplay_Tooltip:Hide();
		    </OnLeave>
		</Scripts>
	    </Button>

	    <Button name="$parentClose" inherits="GameMenuButtonTemplate" text="X">
		<Size>
		    <AbsDimension x="20" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentClear"/>
		</Anchors>
		<Scripts>
		    <OnClick>
			this:GetParent():Hide();
		    </OnClick>
		    <OnEnter>
			Dcr:DisplayTooltip(this:GetParent().CloseButtonTip, this);
		    </OnEnter>
		    <OnLeave>
			DcrDisplay_Tooltip:Hide();
		    </OnLeave>
		</Scripts>
	    </Button>


	    <Button name="$parentPopulate" inherits="GameMenuButtonTemplate" text="P">
		<Size>
		    <AbsDimension x="20" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentClear"/>
		</Anchors>
		<Scripts>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.POPULATE]);
		    </OnLoad>
		    <OnClick>
			DecursivePopulateListFrame.addFunction = this:GetParent().PopulateAddFunction;
			DecursivePopulateListFrameText:SetText(this:GetParent().PopulateFrameTitle);
			DecursivePopulateListFrame:Show();
		    </OnClick>
		    <OnEnter>
			Dcr:DisplayTooltip(Dcr.L[Dcr.LOC.POPULATE_LIST], this);
		    </OnEnter>
		    <OnLeave>
			DcrDisplay_Tooltip:Hide();
		    </OnLeave>
		</Scripts>
	    </Button>

	    <Button name="$parentAdd" inherits="GameMenuButtonTemplate" text="+">
		<Size>
		    <AbsDimension x="20" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parentPopulate"/>
		</Anchors>
		<Scripts>
		    <OnClick>
			if (this:GetParent():AddTargetFunc()) then

			-- put the scroll bar at the bottom

			local Slider = this:GetParent().ScrollBar;

			local Scrollmin, scrollmax = Slider:GetMinMaxValues();

			Slider:SetMinMaxValues(Scrollmin, scrollmax + Slider:GetValueStep()); 

			Slider:SetValue(scrollmax + Slider:GetValueStep());
			end

		    </OnClick>
		    <OnEnter>
			Dcr:DisplayTooltip(Dcr.L[BINDING_NAME_DCRPRADD], this);
		    </OnEnter>
		    <OnLeave>
			DcrDisplay_Tooltip:Hide();
		    </OnLeave>
		</Scripts>
	    </Button>
	    <!-- our scrollbar-->
	    <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOMLEFT" relativeTo="$parentClear" >
			<Offset>
			    <AbsDimension x="0" y="0"/>
			</Offset>
		    </Anchor>
		    <Anchor point="LEFT">
			<Offset>
			    <AbsDimension x="0" y="0"/>
			</Offset>
		    </Anchor>
		    <Anchor point="BOTTOMRIGHT">
			<Offset>
			    <AbsDimension x="-30" y="8"/>
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnVerticalScroll>
			FauxScrollFrame_OnVerticalScroll(self, offset, 16, self:GetParent().ScrollUpdateFunc);
		    </OnVerticalScroll>
		    <OnShow>
			this.UpdateYourself = true;
			this:GetParent().ScrollUpdateFunc()
		    </OnShow>
		    <OnMouseWheel>
			Dcr:ListFrameScrollFrameTemplate_OnMouseWheel(arg1);
		    </OnMouseWheel>
		</Scripts>
	    </ScrollFrame>
	    <!-- end of our ScrollFrame-->

	    <Button name="$parentIndex01" id="1" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent" >
			<Offset>
			    <AbsDimension x="5" y="-40" />
			</Offset>
		    </Anchor>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex02" id="2" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex01"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex03" id="3" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex02"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex04" id="4" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex03"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex05" id="5" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex04"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex06" id="6" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex05"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex07" id="7" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex06"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex08" id="8" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex07"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex09" id="9" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex08"/>
		</Anchors>
	    </Button>
	    <Button name="$parentIndex10" id="10" inherits="Dcr_ListEntryTemplate">
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentIndex09"/>
		</Anchors>
	    </Button>

	</Frames>
    </Frame>
    <!-- }}} -->


    <!-- DecursivePriorityListFrame  {{{ -->
    <Frame name="DecursivePriorityListFrame" inherits="Dcr_ListFrameTemplate">

	<Scripts>
	    <OnLoad>
		Dcr.ListFrameTemplate_OnLoad();

		this.ScrollUpdateFunc = Dcr.PrioSkipList_ScrollFrame_Update;

		this.Priority = true;
		this.ListTitle = Dcr.L[Dcr.LOC.PRIORITY_LIST];
		getglobal(this:GetName().."Text"):SetText(Dcr.L[Dcr.LOC.STR_DCR_PRIO]);

		this.OnUpdate = Dcr.PrioSkipListFrame_OnUpdate;

		this.ClearButtonText = Dcr.L[Dcr.LOC.CLEAR_PRIO];
		this.ClearButtonTip = Dcr.L[BINDING_NAME_DCRPRCLEAR];
		this.ClearFunction = Dcr.ClearPriorityList;

		this.CloseButtonTip = Dcr.L[BINDING_NAME_DCRPRSHOW];

		this.PopulateAddFunction = Dcr.AddUnitToPriorityList;
		this.PopulateFrameTitle = Dcr.L[Dcr.LOC.PRIORITY_LIST];

		this.AddTargetFunc = Dcr.AddTargetToPriorityList;
		this.EntryOnclick = Dcr.PrioSkipListEntryTemplate_OnClick;


	    </OnLoad>
	</Scripts>
    </Frame>
    <!-- }}} -->

    <!-- DecursiveSkipListFrame  {{{ -->
    <Frame name="DecursiveSkipListFrame" inherits="Dcr_ListFrameTemplate">

	<Scripts>
	    <OnLoad>
		Dcr.ListFrameTemplate_OnLoad();

		this.ScrollUpdateFunc = Dcr.PrioSkipList_ScrollFrame_Update;

		this.Priority = false;
		this.ListTitle = Dcr.L[Dcr.LOC.SKIP_LIST_STR];

		getglobal(this:GetName().."Text"):SetText(Dcr.L[Dcr.LOC.STR_DCR_SKIP]);

		this.OnUpdate = Dcr.PrioSkipListFrame_OnUpdate;

		this.ClearButtonText = Dcr.L[Dcr.LOC.CLEAR_SKIP];
		this.ClearButtonTip = Dcr.L[BINDING_NAME_DCRSKCLEAR];
		this.ClearFunction = Dcr.ClearSkipList;

		this.CloseButtonTip = Dcr.L[BINDING_NAME_DCRSKSHOW];

		this.PopulateAddFunction = Dcr.AddUnitToSkipList;
		this.PopulateFrameTitle = Dcr.L[Dcr.LOC.SKIP_LIST_STR];

		this.AddTargetFunc = Dcr.AddTargetToSkipList;
		this.EntryOnclick = Dcr.PrioSkipListEntryTemplate_OnClick;


	    </OnLoad>
	</Scripts>
    </Frame>
    <!-- }}} -->


    <!-- DecursivePopulateListFrame {{{ -->
    <Frame name="DecursivePopulateListFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" hidden="true" parent="UIParent">
	<Size>
	    <AbsDimension x="168" y="265" />
	</Size>

	<Anchors>
	    <Anchor point="CENTER" />
	</Anchors>

	<TitleRegion setAllPoints="true"/>

	<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
	    <EdgeSize>
		<AbsValue val="16"/>
	    </EdgeSize>
	    <TileSize>
		<AbsValue val="16"/>
	    </TileSize>
	    <BackgroundInsets>
		<AbsInset left="5" right="5" top="5" bottom="5"/>
	    </BackgroundInsets>
	</Backdrop>

	<Scripts>
	    <OnShow>
		getglobal(this:GetName().."Title"):SetText(Dcr.L[Dcr.LOC.STR_QUICK_POP]);
	    </OnShow>
	</Scripts>
	<Layers>
	    <Layer level="BACKGROUND">
		<FontString name="$parentTitle" inherits="GameFontNormal" text="Dcr.LOC.STR_QUICK_POP">
		    <Anchors>
			<Anchor point="TOP" relativePoint="TOP" relativeTo="$parent">
			    <Offset>
				<AbsDimension x="0" y="-10" />
			    </Offset>
			</Anchor>
		    </Anchors>
		</FontString>
		<FontString name="$parentText" inherits="GameFontNormal" text="Dcr.LOC.STR_POP">
		    <Anchors>
			<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentTitle">
			    <Offset>
				<AbsDimension x="0" y="-5" />
			    </Offset>
			</Anchor>
		    </Anchors>
		</FontString>
	    </Layer>
	</Layers>
	<Frames>

	    <Button name="$parentGroup1" inherits="GameMenuButtonTemplate" text="Group 1">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent">
			<Offset>
			    <AbsDimension x="5" y="-45" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 1;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '1');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup2" inherits="GameMenuButtonTemplate" text="Group 2">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" relativeTo="$parent">
			<Offset>
			    <AbsDimension x="-5" y="-45" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 2;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '2');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup3" inherits="GameMenuButtonTemplate" text="Group 3">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup1">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 3;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '3');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup4" inherits="GameMenuButtonTemplate" text="Group 4">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup2">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 4;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '4');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup5" inherits="GameMenuButtonTemplate" text="Group 5">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup3">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 5;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '5');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup6" inherits="GameMenuButtonTemplate" text="Group 6">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup4">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 6;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '6');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup7" inherits="GameMenuButtonTemplate" text="Group 7">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup5">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 7;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '7');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentGroup8" inherits="GameMenuButtonTemplate" text="Group 8">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup6">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			this.GroupNumber = 8;
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_GROUP] .. '8');
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentWarrior" inherits="GameMenuButtonTemplate" text="Warrior">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup7">
			<Offset>
			    <AbsDimension x="0" y="-5" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_WARRIOR;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentPriest" inherits="GameMenuButtonTemplate" text="Priest">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentGroup8">
			<Offset>
			    <AbsDimension x="0" y="-5" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_PRIEST;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentMage" inherits="GameMenuButtonTemplate" text="Mage">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentWarrior">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_MAGE;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentWarlock" inherits="GameMenuButtonTemplate" text="Warlock">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentPriest">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_WARLOCK;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentHunter" inherits="GameMenuButtonTemplate" text="Hunter">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMage">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_HUNTER;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentRogue" inherits="GameMenuButtonTemplate" text="Rogue">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentWarlock">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_ROGUE;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentDruid" inherits="GameMenuButtonTemplate" text="Druid">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentHunter">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_DRUID;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentShaman" inherits="GameMenuButtonTemplate" text="Shaman">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentRogue">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_SHAMAN;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentPaladin" inherits="GameMenuButtonTemplate" text="Paladin">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentDruid">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_PALADIN;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>
	    <Button name="$parentDeathknight" inherits="GameMenuButtonTemplate" text="Deathknight">
		<Size>
		    <AbsDimension x="80" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentShaman">
			<Offset>
			    <AbsDimension x="0" y="0" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			Dcr:PopulateButtonPress();
		    </OnClick>
		    <OnLoad>
			this.ClassType = Dcr.LOC.CLASS_DEATHKNIGHT;
			this:SetText(Dcr:ColorText(Dcr.BC[this.ClassType], "FF"..Dcr:GetClassHexColor(this.ClassType)));
		    </OnLoad>
		</Scripts>
	    </Button>

	    <Button name="$parentClose" inherits="GameMenuButtonTemplate" text="Close">
		<Size>
		    <AbsDimension x="100" y="20" />
		</Size>
		<Anchors>
		    <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parent">
			<Offset>
			    <AbsDimension x="0" y="10" />
			</Offset>
		    </Anchor>
		</Anchors>
		<Scripts>
		    <OnClick>
			DecursivePopulateListFrame:Hide();
		    </OnClick>
		    <OnLoad>
			this:SetText(Dcr.L[Dcr.LOC.STR_CLOSE]);
		    </OnLoad>
		</Scripts>
	    </Button>
	</Frames>
    </Frame>
    <!-- DecursivePopulateListFrame }}} -->

    
    <Script>
	DcrLoadedFiles["Dcr_lists.xml"] = "2.3.0";
    </Script>
</Ui>
